package day04;

import java.util.Scanner;

public class Scan {
    public static void main(String[] args) {
        //实现控制输入的方法步骤
        Scanner scan = new Scanner(System.in);

        System.out.println("请输入一个整数");
        int b =scan.nextInt();
        System.out.println(b);
        System.out.println("请输入一个小数");
        double price  = scan.nextDouble();
        System.out.println(price);





    }
}
